import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import Pro from "./plugins/Product"

//全局注入swiper模块
//命令:npm i swiper@5.* vue-awesome-swiper@4.*
import VAS from 'vue-awesome-swiper'
Vue.use(VAS)
import 'swiper/css/swiper.css'


// 全局注入mint ui 模块
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)

//全局注入jquery模块 虽然不是很推荐使用jquery
import jquery from "jquery";
Vue.prototype.$ = jquery;

//图片在华为云的基础路径，
Vue.prototype.imgBaseUrl = "https://apple1234.obs.cn-north-4.myhuaweicloud.com/";

//全局注入一个pro产品对象
Vue.prototype.Product = Pro;

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')